﻿using System;
using RpcHelper.Validate;
namespace Wedonek.RpcStore.Service.Model
{
        /// <summary>
        /// 任务日志查询
        /// </summary>
        public class TaskLogQuery
        {
                /// <summary>
                /// 任务Id
                /// </summary>
                [NullValidate("rpc.task.id.null")]
                public Guid TaskId { get; set; }
                /// <summary>
                /// 任务项Id
                /// </summary>
                public Guid? ItemId { get; set; }
                /// <summary>
                /// 是否失败
                /// </summary>
                public bool? IsFail { get; set; }
                /// <summary>
                /// 起始时间
                /// </summary>
                public DateTime? Begin { get; set; }
                /// <summary>
                /// 截止时间
                /// </summary>
                public DateTime? End { get; set; }
        }
}
